<?php
class Macys_Api_V2_User_UserContext extends Macys_Api_V2_User2 {
	
	private $_userContext = null;
	
	protected function setUserAccess() {
		if($this->_userContext == null) {
			throw new Macys_Api_V2_Exception('User Context cannot be Null Use setUserContext before Calling');
		}
		$this->client->setUserContextHeader($this->_userContext);
		$this->client->setClientHeader($this->_config->getApiKey('user'));
	}
	
	protected function setUri(){
		$this->userUri = $this->directUri . $this->userEndPoint;
		$this->client->setUri($this->userUri);
	}
	
	protected function setUserContext($userContext) {
		$this->_userContext = $userContext;
	}
	
	
	
}